package com.ruoyi.combat.domain.apprisk;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 combat_application
 * 
 * @author ruoyi
 * @date 2024-07-30
 */
public class CombatApplication extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，app的ID */
    private Long appid;

    /** app名称 */
    @Excel(name = "app名称")
    private String appName;

    /** app的简介 */
    @Excel(name = "app的简介")
    private String appSummary;
    /** app的简介 */
    @Excel(name = "app的评分")
    private String appScore;

    @Excel(name = "app的下载次数")
    private String appCountDownloads;

    /** app开发者 */
    @Excel(name = "app开发者")
    private String appDeveloper;

    /** app运营者 */
    @Excel(name = "app运营者")
    private String appOperator;

    /** app备案号 */
    @Excel(name = "app备案号")
    private String appRecordno;

    /** app主办者 */
    @Excel(name = "app主办者")
    private String appSponsor;

    /** app更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "app更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appUpdatedate;

    /** app版本号 */
    @Excel(name = "app版本号")
    private String appVersion;

    /** app权限 */
    @Excel(name = "app权限")
    private String appAuthority;

    /** app隐私政策 */
    @Excel(name = "app隐私政策")
    private String appPrivacy;

    /** app存储路径 */
    @Excel(name = "app存储路径")
    private String appPath;

    /** app存储路径 */
    @Excel(name = "appMD5值")
    private String appMd5;

    @Excel(name = "app图标")
    private String appIcon;

    @Excel(name = "app包名")
    private String appPkgname;

    @Excel(name = "app的sha256哈希值")
    private String appSha256;
    /**
     * 来源类型
     */
    private String sourceType;
    private String appType;

    /**
     * 越权分类信息
     */
    private String type;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "app插入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date installDate;

    private List<CombatAppRisk> combatAppRisks;

    public List<CombatAppRisk> getCombatAppRisks() {
        return combatAppRisks;
    }

    public void setCombatAppRisks(List<CombatAppRisk> combatAppRisks) {
        this.combatAppRisks = combatAppRisks;
    }

    public String getAppType() {
        return appType;
    }

    public void setAppType(String appType) {
        this.appType = appType;
    }

    public String getAppCountDownloads() {
        return appCountDownloads;
    }

    public void setAppCountDownloads(String appCountDownloads) {
        this.appCountDownloads = appCountDownloads;
    }

    public String getAppScore() {
        return appScore;
    }

    public void setAppScore(String appScore) {
        this.appScore = appScore;
    }



    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAppSha256() {
        return appSha256;
    }

    public void setAppSha256(String appSha256) {
        this.appSha256 = appSha256;
    }

    public String getAppPath() {
        return appPath;
    }

    public void setAppPath(String appPath) {
        this.appPath = appPath;
    }

    public String getAppMd5() {
        return appMd5;
    }

    public void setAppMd5(String appMd5) {
        this.appMd5 = appMd5;
    }

    public String getAppIcon() {
        return appIcon;
    }

    public void setAppIcon(String appIcon) {
        this.appIcon = appIcon;
    }

    public String getAppPkgname() {
        return appPkgname;
    }

    public void setAppPkgname(String appPkgname) {
        this.appPkgname = appPkgname;
    }

    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType(String sourceType) {
        this.sourceType = sourceType;
    }

    public void setAppid(Long appid)
    {
        this.appid = appid;
    }

    public Long getAppid() 
    {
        return appid;
    }
    public void setAppName(String appName) 
    {
        this.appName = appName;
    }

    public String getAppName() 
    {
        return appName;
    }
    public void setAppSummary(String appSummary) 
    {
        this.appSummary = appSummary;
    }

    public String getAppSummary() 
    {
        return appSummary;
    }
    public void setAppDeveloper(String appDeveloper) 
    {
        this.appDeveloper = appDeveloper;
    }

    public String getAppDeveloper() 
    {
        return appDeveloper;
    }
    public void setAppOperator(String appOperator) 
    {
        this.appOperator = appOperator;
    }

    public String getAppOperator() 
    {
        return appOperator;
    }
    public void setAppRecordno(String appRecordno) 
    {
        this.appRecordno = appRecordno;
    }

    public String getAppRecordno() 
    {
        return appRecordno;
    }
    public void setAppSponsor(String appSponsor) 
    {
        this.appSponsor = appSponsor;
    }

    public String getAppSponsor() 
    {
        return appSponsor;
    }
    public void setAppUpdatedate(Date appUpdatedate) 
    {
        this.appUpdatedate = appUpdatedate;
    }

    public Date getAppUpdatedate() 
    {
        return appUpdatedate;
    }
    public void setAppVersion(String appVersion) 
    {
        this.appVersion = appVersion;
    }

    public String getAppVersion() 
    {
        return appVersion;
    }
    public void setAppAuthority(String appAuthority) 
    {
        this.appAuthority = appAuthority;
    }

    public String getAppAuthority() 
    {
        return appAuthority;
    }
    public void setAppPrivacy(String appPrivacy) 
    {
        this.appPrivacy = appPrivacy;
    }

    public String getAppPrivacy() 
    {
        return appPrivacy;
    }

    public Date getInstallDate() {
        return installDate;
    }

    public void setInstallDate(Date installDate) {
        this.installDate = installDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("appid", getAppid())
            .append("appName", getAppName())
            .append("appSummary", getAppSummary())
            .append("appDeveloper", getAppDeveloper())
            .append("appOperator", getAppOperator())
            .append("appRecordno", getAppRecordno())
            .append("appSponsor", getAppSponsor())
            .append("appUpdatedate", getAppUpdatedate())
            .append("appVersion", getAppVersion())
            .append("appAuthority", getAppAuthority())
            .append("appPrivacy", getAppPrivacy())
            .append("installDate", getInstallDate())
            .append("appType", getAppType())
             .append("sourceType", getSourceType())
            .toString();
    }
}
